package gov.pbc.nn.kjgl.fxq.organInfor.entity;

import java.io.Serializable;
import javax.persistence.*;

import java.util.Collection;
import java.util.Date;
import com.bstek.dorado.annotation.PropertyDef;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import gov.pbc.nn.core.entity.BaseEntity;
import gov.pbc.nn.kjgl.fxq.organInfor.entity.OrganPersonInfor;

/**
 * t_fxq_organ_infor:
 */
@Entity
@Table(name = "t_fxq_organ_infor_modify")
public class OrganInforModify extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Column(name = "ORGAN_NAME_")
	@PropertyDef(label = "义务机构名称", description = "ORGAN_NAME_:")
	private String organName;

	@Column(name = "ORGAN_NUM_", length = 255)
	@PropertyDef(label = "义务机构编码", description = "ORGAN_NUM_:")
	private String organNum;
	
	@Column(name = "OPERATE_MODE")
	@PropertyDef(label = "操作方式", description = "1、新增 2、修改 3、删除")
	private int opetateMode;

	@Column(name = "MODIFY_CONTENT", length = 255)
	@PropertyDef(label = "变更内容", description = "MODIFY_CONTENT:")
	private String modifyContent;
	
	@Column(name = "ORGAN_ID", length = 255)
	@PropertyDef(label = "机构ID", description = "ORGAN_ID")
	private String organId;



	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getOrganName() {
		return organName;
	}

	public void setOrganNum(String organNum) {
		this.organNum = organNum;
	}

	public String getOrganNum() {
		return organNum;
	}
	
	public void setOpetateMode(int opetateMode) {
		this.opetateMode = opetateMode;
	}

	public int getOpetateMode() {
		return opetateMode;
	}

	public void setModifyContent(String modifyContent) {
		this.modifyContent = modifyContent;
	}

	public String getModifyContent() {
		return modifyContent;
	}
	
	public void setOrganId(String organId) {
		this.organId = organId;
	}

	public String getOrganId() {
		return organId;
	}

}
